package com.gamex.findit.model;

import java.io.Serializable;
import java.util.Date;

import javax.xml.bind.annotation.XmlRootElement;

import org.apache.ibatis.type.Alias;

@Alias("notice")
@XmlRootElement
public class Notice extends BaseModel implements Serializable{
	private static final long serialVersionUID = 4898503632853019661L;

	private int nId;
	private String title;
	private String contents;
	private Date regDate;
	private Date ModDate;
	private String state;
	
	public int getnId() {
		return nId;
	}
	public void setnId(int nId) {
		this.nId = nId;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContents() {
		return contents;
	}
	public void setContents(String contents) {
		this.contents = contents;
	}
	public Date getRegDate() {
		return regDate;
	}
	public void setRegDate(Date regDate) {
		this.regDate = regDate;
	}
	public Date getModDate() {
		return ModDate;
	}
	public void setModDate(Date modDate) {
		ModDate = modDate;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	
	@Override
	public String toString() {
		return "Notice [nId=" + nId + ", title=" + title + ", contents="
				+ contents + ", regDate=" + regDate + ", ModDate=" + ModDate
				+ ", state=" + state + "]";
	}
	
	
}
